package cn.aicnn.chatssespringboot.service;

import cn.aicnn.chatssespringboot.dto.ChatRequestDTO;

import java.util.ArrayList;

public interface DialogService {
    int insertTextDialog(int chatId, String question, String answer);
    //获取dialog并转换成messages
    ArrayList<ChatRequestDTO.ReqMessage> selectReqMessage(int chatId);
}
